from __future__ import unicode_literals
from django.shortcuts import render
from django.http import HttpResponse
from App.models import test,dep_info
import json
 
 
def index(request):
    return HttpResponse(u"麦大麦的哦")

def hello(request):
	string = u"这是一个哈哈哈哈"
	list = ["HTML", "CSS", "jQuery", "Python", "Django"]
	return render(request,"hello.html",{'list':list})
	
def depinfo(request):
	datas = dep_info.objects.all()
	return render(request,"dep_info.html" ,{'datas': datas})

def home(request):
	return render(request,"index.html")

def search(request):
	return render(request,"searchSN.html")